package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;


import java.util.List;

public interface DishService {
    List<Dish> getDishList(Long categoryId,String name);

    void addDishWithFlavors(DishDTO dishDTO);

    PageResult getDishPage(DishPageQueryDTO dishPageQueryDTO);

    void deleteDish(List<Long> ids);

    DishVO getDishById(Long id);

    void updateDish(DishDTO dishDTO);

    List<DishVO> getDishVoByCategoryId(Dish dish);

    void updateDishStatus(Integer status, Integer id);

}
